package org.shangma.exercise;

/**
 * @classname:demo01
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/24 18:49
 * @version: 0.1
 * @since:1.8
 */
public class demo01 {
    //    1.求一光年是多少千米 , 光在真空中传播速度299792458 m/s
    public static void main(String[] args) {
        long time = 60*60*24*365;
        long lon = (299792458*time)/1000;
        System.out.println("ssda");
        System.out.println("一光年："+lon+"千米");

    }
}
